package com.toutiao.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.toutiao.dao.model.NewsCate;
import com.toutiao.dao.model.NewsCateExample;

public interface NewsCateMapper {
	int countByExample(NewsCateExample example);

	int deleteByExample(NewsCateExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(NewsCate record);

	int insertSelective(NewsCate record);

	List<NewsCate> selectByExample(NewsCateExample example);

	NewsCate selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") NewsCate record, @Param("example") NewsCateExample example);

	int updateByExample(@Param("record") NewsCate record, @Param("example") NewsCateExample example);

	int updateByPrimaryKeySelective(NewsCate record);

	int updateByPrimaryKey(NewsCate record);

}
